package com.teacher.pojo.dto.classlevel;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: zfm
 * @Date: 2021/8/1 16:28
 */
@Data
public class ClassLevelAddDto {
    @ApiModelProperty(value = "学期ID")
    private Long termId;

    @ApiModelProperty(value = "班级id")
    @NotNull(message = "班级id不能为空")
    private Long classId;

    @ApiModelProperty(value = "等级 10->A等 20->B等 30->C等")
    @NotNull(message = "等级不能为空")
    private Integer level;

    @ApiModelProperty(value = "备注")
    private String remark;
}
